from flask import render_template

from . import blue_print
from flask import session


@blue_print.route("/")
def index():
    session["name"] = "lucy"
    return render_template("news/index.html")


@blue_print.route("/branch1")
def index1():
    return "这是大傻吊主页中的分页"


@blue_print.route("/branch2")
def index2():
    return "这是大傻吊主页中的第二分页"